from django.urls import path, include
from django.conf.urls.static import static
from django.conf import settings
from .views import *

app_name = 'home'

urlpatterns = [
    path('', homePage, name='home_page'),
    path('changePassword/', changePassword.as_view() ,name='changePassword'),
    path('UserInfo/', user_info.as_view(), name='user_info'),
    path('UserInfo/UserChangeImg/', userChangeImg, name='userChangeImg'),
    path('GoodsList/', goodsList,name='goodsList'),
    path('Commodity/', commodity,name='commodity')
]+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
